From 07c656cdf1007aa4f74bae7bde84401a603215c0 Mon Sep 17 00:00:00 2001 From: Cody Russell Date: Tue, 2 Nov 1999 23:59:03 +0000 Subject: [PATCH] src/gdk-pixbuf-drawable.c (gdk_pibxuf_from_drawable_core): Now calls gdk_pixbuf_new_from_art_pixbuf() instead of gdk_pixbuf_new(). --- gdk-pixbuf/ChangeLog | 4 ++++ gdk/gdkpixbuf-drawable.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index c9e863254a..d7fb974a7b 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,7 @@ +1999-11-02 Cody Russell + * src/gdk-pixbuf-drawable.c (gdk_pixbuf_from_drawable_core): Now + calls gdk_pixbuf_new_from_art_pixbuf() instead of gdk_pixbuf_new(). + 1999-11-02 Jonathan Blandford * src/io-gif.c (gif_main_loop): Now progressive gif loading works! diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c index 73e02365bd..dbbd6f18b1 100644 --- a/gdk/gdkpixbuf-drawable.c +++ b/gdk/gdkpixbuf-drawable.c @@ -131,7 +131,7 @@ gdk_pixbuf_from_drawable_core (GdkWindow *window, gint x, gint y, gint width, gi art_pixbuf = with_alpha ? art_pixbuf_new_rgba (buff, width, height, rowstride) : art_pixbuf_new_rgb (buff, width, height, rowstride); - return gdk_pixbuf_new(art_pixbuf, NULL); + return gdk_pixbuf_new_from_art_pixbuf(art_pixbuf); } /* Public functions */ -- 2.30.2